import UniHelperComponents from "@uni-helper/vite-plugin-uni-components";
import { WotResolver } from "@uni-helper/vite-plugin-uni-components/resolvers";

export default function autoUseCompontents() {
  return UniHelperComponents({
    resolvers: [WotResolver()],
    dts: "./src/type/components.d.ts",
    directoryAsNamespace: true,
  });
}
